using System;
using System.Reflection;
using System.Collections.Generic;
using System.Text;

using Crainiate.Data.Persistence.Cache;

namespace Crainiate.Data.Persistence.Providers.Labelling
{
    //Implements a label for a query
    public sealed class QueryLabelHash: LabelHash<IQuery>
    {
        public QueryLabelHash(IQuery query): base(query)
        {

        }

        public QueryLabelHash(IQuery query, LabelHash parent): base(query, parent)
        {

        }

        public override string ToString()
        {
            return Item.GetHashCode().ToString();
        }
    }
}